package com.white.hot.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.white.hot.dao.GoodsDao;
import com.white.hot.dto.Goods;
import com.white.hot.service.GoodsService;
import commom.Page;


@Service("goodsService")
public class GoodsServiceImp implements GoodsService
{

	@Resource
	private GoodsDao goodsDao;
	
	@Override
	public List<Goods> getList(Page page)
	{
		return goodsDao.getList(page);
	}

	@Override
	public void saveList(List<Goods> list)
	{
		goodsDao.saveList(list);
	}

}
